-- GENERATED SPELL FOR [Deathclaw] --


function spell0_17661(pUnit, Event) --@Swipe,n/a--
pUnit:FullCastSpellOnTarget(31279,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17661', 546, 1)
end

function Sorts_17661(pUnit, Event)
local choix_sorts_17661 = math.random(0, 0)
if choix_sorts_17661 == 0 then
pUnit:RegisterEvent('spell0_17661', 1, 1)
end
end

function mob17661_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17661', math.random(1500, 3000), 1)
end

function mob17661_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17661_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17661_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17661, 1, 'mob17661_Action')
RegisterUnitEvent(17661, 2, 'mob17661_Leave')
RegisterUnitEvent(17661, 3, 'mob17661_Kill')
RegisterUnitEvent(17661, 4, 'mob17661_Die')
